package com.zhaolulu.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zhaolulu.mapper.UserMapper;
import com.zhaolulu.pojo.User;
import com.zhaolulu.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author 荒漠中的浮尘
* @description 针对表【tb_user】的数据库操作Service实现
* @createDate 2024-09-15 20:57:24
*/
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User>
    implements UserService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public User queryById(Long id) {
        return userMapper.findById(id);
    }
}




